#include <stdio.h>

int main(int argc, char const *argv[])
{
	char str[] = "hello";
	str[0] = '1';

	*(str+1) = '2';
	printf("%s\n", str);   //12llo


	char *p = NULL;
	p = &str[0];
	p = str;		//数组名就是首元素地址
	*p = 'a';
	p++;
	*p = 'b';
	printf("%s\n", str);
	printf("%s\n", p);
	printf("%s\n",p-1 );
	return 0;
}